setAutoStart

open fun setAutoStart(flag: Boolean)

Sets whether this control should start its operation automatically after #initialize(Module) initialization.

If enabled (set to true}), the control's play or operational logic should begin immediately after its initialization phase is complete. If disabled (set to false}), the control will wait for an explicit call to #start() before becoming active.

Sets the auto-start behavior for the gadget. Note: The current implementation of GadgetView primarily controls its "start" signal via the start method and the onPageFinished callback. This setter might be used by external logic but doesn't directly alter the internal startup flow tied to page loading.

Parameters

flag

true to suggest auto-start, false otherwise.